Categories

Versions

Apply Model (Documents) (Operator Toolbox)

Synopsis

This operator allows you to apply document models on collections of document. Currently LDA and Dictionary Based Sentiment learners are supported.

Description

Some models might requiere that the documents are tokenized. The operator throws an error if this is not done.

Input

  • col (Collection)

    A collection of documents which might be preprocessed.

  • mod

    A document model

Output

  • exa (Data Table)

    An ExampleSet with the result of the application

  • mod

    The document model.

  • col (Collection)

    The passed through collection of documents

Parameters

  • application_parameters Models can expose additional parameters for application. These are documented in the respective learner. Range:

Tutorial Processes

A simple application on lorem ipsum

In this example we generate data and train a LDA on it. The LDA model is later used with Apply Model (Documents) to score a separate set of data.